package com.example.demo.commom.ressponse;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@AllArgsConstructor
@NoArgsConstructor
public enum StatusCode {
    SUCCES(1,"ok"),
    OPERATION_SUCCESS(2001, "翻译成功"),
    OPERATION_FAILED(2002, "翻译失败");
    //内部状态码,提示消息
    private Integer code;
    private String msg;


}